<?php
/**
 * Created by Etekcity.
 * User: Dean.Dong
 * Date: 2017/7/3
 * Time: 19:19
 */
namespace App\Providers;

use App\Http\ViewComposers\Buz\MemberComposer;
use App\Http\ViewComposers\Buz\RemitComposer;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;

class ComposerServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        View::composer('layouts.buz.sidebar.remit', RemitComposer::class);
        View::composer('layouts.buz.sidebar.member', MemberComposer::class);
        View::composer('layouts.buz.header', MemberComposer::class);
    }

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {
        // TODO: Implement register() method.
    }
}
